home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX 6.2 Development Libraries
/
SGI IRIX 6.2 Development Libraries.iso
/
dist
/
complib.idb
/
usr
/
share
/
catman
/
p_man
/
cat3
/
complib
/
CGTSL.z
/
CGTSL
Wrap
Text File
|
1996-03-14
|
2KB
|
67 lines
CCCCGGGGTTTTSSSSLLLL((((3333FFFF)))) CCCCGGGGTTTTSSSSLLLL((((3333FFFF))))
NNNNAAAAMMMMEEEE
CGTSL - CGTSL given a general tridiagonal matrix and a right hand side
will find the solution.
SSSSYYYYNNNNOOOOPPPPSSSSYYYYSSSS
SUBROUTINE CGTSL(N,C,D,E,B,INFO)
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
On Entry
NNNN INTEGER
is the order of the tridiagonal matrix.
CCCC COMPLEX(N)
is the subdiagonal of the tridiagonal matrix.
C(2) through C(N) should contain the subdiagonal.
On output C is destroyed.
DDDD COMPLEX(N)
is the diagonal of the tridiagonal matrix.
On output D is destroyed.
EEEE COMPLEX(N)
is the superdiagonal of the tridiagonal matrix.
E(1) through E(N-1) should contain the superdiagonal.
On output E is destroyed.
BBBB COMPLEX(N)
is the right hand side vector. On Return
BBBB is the solution vector.
IIIINNNNFFFFOOOO INTEGER
= 0 normal value.
= K if the K-th element of the diagonal becomes
exactly zero. The subroutine returns when
this is detected. LINPACK. This version dated 08/14/78 . Jack
Dongarra, Argonne National Laboratory. No Externals Fortran
ABS,AIMAG,REAL
PPPPaaaaggggeeee 1111